package com.demo.springbootjobcron.job.process;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.Date;

/**
 * @author Hanson
 * @date 2022/9/7 10:29
 */
@Slf4j
@Service
public class TestProcess {
    public void process(){
        Date date = new Date();
        long time = new Date().getTime();
        System.out.println("当前时间："+date+"，当前时间戳："+time);
    }
}
